package com.github.netty.constant;

/**
 * @author ArchieSean
 * @description 枚举
 * @date 2024-08-11
 */
public interface Constant {

    /**
     * websocket请求
     */
    String WEBSOCKET = "websocket";

    /**
     * ws连接时的请求头
     */
    String HEADER_UPGRADE = "Upgrade";

    /**
     * http默认响应成功的编码200
     */
    Integer SUCCESS_CODE = 200;

    /**
     * 用于建立连接
     */
    String LINK = "ws://127.0.0.1:";
}
